package io.renren.modules.biz.service;

import io.renren.common.utils.PageUtils;
import io.renren.modules.biz.entity.BalanceTopupEntity;
import io.renren.modules.biz.entity.CountDto;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.service.IService;

/**
 * 用户充值提现申请表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-09-03 14:51:31
 */
public interface BalanceTopupService extends IService<BalanceTopupEntity> {

	PageUtils queryPage(Map<String, Object> params);

	/**
	 * 会员充值
	 */
	void save(BalanceTopupEntity balanceTopup);

	/**
	 * 会员充值提现审核
	 */
	void changeStauts(String type, List<Long> ids);

	/**
	 * 统计充值提现金额
	 * 
	 * @param memberId
	 * @param mobile
	 * @param startDate
	 * @param endDate
	 * @param status
	 * @return
	 */
	CountDto sumTopupAmount(String memberId, String mobile, String startDate, String endDate, String status);
}
